<?php
/**
 * Notes: 人脸api 管理
 * User: Lionel
 * DateTime: 2020/10/10 9:10
 */

namespace app\index\controller;


use think\Controller;
use think\Loader;

class AipCon extends Controller
{
    /**
     * Notes: 添加用户组
     * User: Lionel
     * DateTime: 2020/10/10 9:15
     */
    public function addGroup(){
        Loader::import('aip.AipFace');
        $aipface = new \AipFace(config('aiplat.AppID'), config('aiplat.APIKey'), config('aiplat.SecretKey'));
        $re = $aipface->groupAdd('mgy_1');
        dump($re);
    }
}
